Skip to main content

Delete Audience

AutomatR.TFMailchimp.Activities.DeleteAudience

The "Delete Audience" activity in AutomatR is part of the Mailchimp Audience activities package, allowing users to delete a specified audience from their Mailchimp account.

Properties

NameDescription
Input
Audience NameSpecifies the name or ID of the audience to be deleted. String variables containing the audience name or ID.
Misc
Display NameProvides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name.
Optional
DelaySpecifies the amount of time (in seconds) to wait before executing the "Delete Audience" activity. This can be useful for handling synchronization issues. Integer variables containing the delay duration. Ex.: If the amount of time is 1000 milliseconds or 1 sec, i.e., 1.
Output
ResultOutputs the result of the "Delete Audience" operation, indicating whether the audience deletion was successful or any encountered errors. Variables of relevant types (e.g., Boolean variables) to store the operation result.

How to use:

  1. Drag and drop the "Delete Audience" activity onto the workflow.
  2. Configure the properties by specifying the audience name or ID to be deleted.
  3. Optionally, configure the delay property.
  4. Execute the workflow to delete the specified audience from the Mailchimp account.

Example: Consider an example where the "Delete Audience" activity is used to delete an audience named "Subscribers":

Delete Audience:
Audience Name: "Subscribers"
Delay: 2
Result: isDeleteSuccessful

In this example, the activity deletes the "Subscribers" audience from the Mailchimp account. The result of the operation (success or failure) is stored in the Boolean variable "isDeleteSuccessful" for further handling in the workflow.